//
//  ManualGroupMO.h
//  Groups
//
//  Created by Mathieu on 26/07/06.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Group.h"


@interface ManualGroupMO : Group {
	NSAttributedString *cachedNameWithImage;
	int wordCount;
}
-(NSPredicate *)smartGroupFilterPredicate;

- (bool)isManualGroup;
- (NSAttributedString *)nameWithImage;
- (void)setName:(NSString *)value;

- (int)wordCount;

- (NSString *)groupImageName;
- (bool)isThisGroupTheLibrary;
- (NSString *)extraPredicateString;

	// Accesors that allow displaying the name of the group with the corresponsing 
	// icon;  this is used in the outline view of the main window
- (NSAttributedString *)nameWithImage;
- (void)setNameWithImage:(NSString *)nameWithImage;
-(NSString *)predicateAsString;


@end


